#ifndef _FW_IMG_H_
#define _FW_IMG_H_

#include <Magick++.h>
#include <iostream>
using namespace Magick;
using namespace std;

int test_img( int argc, char** argv )
{
	InitializeMagick ( *argv );
	Image test;
	try
	{
		test.read ( "smile.miff" );
		test.write ( "smile.jpeg" );
	}
	catch ( Exception &err )
	{
		cout << "Caught exception: " << err.what() << "\n";
		getchar ();
		return 1;
	}
	return 0;
}

#endif